package group.rober.jeki.autoconfigure;

import group.rober.auth.autoconfigure.AuthAutoConfiguration;
import group.rober.base.autoconfigure.BaseAutoConfiguration;
import group.rober.jeki.autoconfigure.mybatisplus.MybatisPlusConfig;
import org.springframework.context.annotation.*;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * Created by tisir<yangsong158@qq.com> on 2017-04-27
 */
@Configuration
@ImportResource("classpath:application-context.xml")
//@Import(value={MybatisPlusConfig.class,AuthAutoConfiguration.class,DataFormAutoConfiguration.class})
@Import(value={MybatisPlusConfig.class,AuthAutoConfiguration.class,BaseAutoConfiguration.class})
//@ComponentScan(basePackages={"group.rober.auth"})
//@EnableWebMvc
//@ServletComponentScan
public class JekiConfiguration extends WebMvcConfigurerAdapter {


//    public void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/myResource/**").addResourceLocations("classpath:/myResource/");
//        super.addResourceHandlers(registry);
//    }


}
